package com.sport.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sport.entity.RetailCustomer;
import com.sport.mapper.RetailCustomerMapper;
import com.sport.service.RetailCustomerService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RetailCustomerImpl extends ServiceImpl<RetailCustomerMapper, RetailCustomer> implements RetailCustomerService {

    @Override
    public List<RetailCustomer> getCustomerList() {
        return list(); // 获取所有客户信息
    }

    @Override
    public RetailCustomer getCustomerById(String custId) {
        return getById(custId); // 根据ID获取客户信息
    }




}
